package io.renren.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.dao.ReplenishmentitemDao;
import io.renren.entity.ProductEntity;
import io.renren.entity.ReplenishmentitemEntity;
import io.renren.service.ReplenishmentitemService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("replenishmentitemService")
public class ReplenishmentitemServiceImpl extends ServiceImpl<ReplenishmentitemDao, ReplenishmentitemEntity> implements ReplenishmentitemService {

    @Override
    public List<ProductEntity> getReplenishmentProductById(Integer replenishId){
        List<ProductEntity> list = baseMapper.getReplenishmentProductById(replenishId);
        return list;
    }

}
